<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>函数的调用</title>
</head>
<body>
        <script>
            var s = '24';
      var r =  Math.random();                                //返回0到1之间的随机数

            console.log(r)

        </script>
</body>
</html>